The difference between the cream and the ointment is that cream is water based and of a thinner consistency and ointment is oil based and of a thicker, more greasy consistency. Other than that your specialist is quite right, they are the same formula. It is most likely that that the ointment, being oil based, forms a protective layer over the skin and is therefore more protective from irritation whereas cream is generally absorbed into the skin leaving no protective layer.