Yes, that's what she did wrong.
It doesn't matter if it was IU or a Western celebrity, or a total non celebrity.
It is basic decency, that when you bump against a person, you immediately apologize, that much is true of most cultures.
She didn't.
But anyway, she has given an apology. That's good.
IU has wonderful things ahead, for fans to be bothered about this any more.