Thank you for your query,
They seems like an skin infection
or contact dermatitis
Physical examination is required to accurately diagnose the problem.
You can apply one antibacterial cream on raw and oozing areas to prevent secondary infection.
Consult your Pediatrician
for the examination and for the appropriate topical medication
Hope I have answered your query.