The phrase
"ego problem" means that someone has an issue or difficulty with their ego. This usually refers to someone who thinks highly of themselves, is self-centered, and has a big sense of their own importance. They might ignore other people's feelings, always want to be the center of attention, or believe they are better than others.
Full definition