B would be C5H8O3 if refluxed because it has an aldehyde on one end (-CHO) which would oxidise into a carboxylic acid (-COOH) and a secondary alcohol which would oxidise into a ketone (C=O)
CH3CH(OH)CH(CH3)CHO 2[O] —> CH3COCH(CH3)COOH H2O
So it can’t be B because the molecular formula doesn’t match the one in the question.