It could be an allergy, if you give him egg again you may find it is much worse (if that's what caused the rash) as most kids actually react the second or third time having a food rather than the first. That's at least my understanding.

I would seek medical advice before offering egg again so you are aware what to do if there is a bigger reaction