Due to the B-field the electronic energy levels will split up, zeeman effect. An atom in a certain energy eigenstate (with corresponding quantum numbers) will on absorption (not interaction, because then we could also have stimulated emission) transition to a higher energy eigenstate.