I have read in many places on the Internet that "yeah" is considered unprofessional. And that using "yes" is preferred and considered more formal. What is the reason behind it?
Because it is informal and colloquial.
yeah adv. Informal Yes.
yeah American English, colloquial, by 1863, from drawling pronunciation of yes.
You can check this similar question as well: