Correct answer: both A and B
An electromagnetic wave carries energy through oscillating electric and magnetic fields. These two fields are perpendicular to each other and to the direction of propagation, so the energy is in both fields, not just one.