Answer :
We are asked to know the reason why magnetic dipole can be written as U = -m *B. The reason for this was that the negative sign is just showing or indicating the direction of the force. If it if negative, it means that the work done is opposite to the force field.