Hello and thank you for submitting your question!
It is unlikely that consuming that amount of eggs can be the cause of your son’s headaches. There can be many different reasons for severe headaches. Headaches may be linked to sleep.1 See our Lifestyle page on how to “Set yourself up for a good night sleep.” If your son has been experiencing severe headaches for a significant amount of time, I encourage your son to consult with a doctor to see what the underlying cause may be.
Hope this helps you and your son!
1. Singh NN, Sahota P. Sleep-related headache and its management. Curr Treat Options Neurol. 2013 Dec;15(6):704-22. doi: 10.1007/s11940-013-0258-1.