Personally I think it is not due to allergy
from dairy products at this age!
It may be some sort of skin infection
Be care ful of local hygiene as it is in groin area.
To avoid scratching and complicating the lesions, you should give some oral ntihistamine.
All the best