Meaning of “raise/rear its ugly head” - Learner’s Dictionary

raise/rear its ugly head

If a problem or something unpleasant raises its ugly head, it becomes a problem that people have to deal with.

(Definition of “raise/rear its ugly head” from the Cambridge Learner’s Dictionary © Cambridge University Press)