Could be jock itch. Look that one up online and see if the photos look similar.
it could be an allergy, what are you washing his underwear in , could be the detergent, or any creams or lotions . May be good to ask the doctor what is causing it, and maybe get some med to help..good Luck