She cried because the film makers were dumb and didn't read the books.
Hermione does not cry at the yule ball in book. She enjoys her dance with krum, has a row with Ron, tells him off and goes back to her dorm. It isn't nearly as dramatic as movie lol