Why do people throw their wine glass over their shoulder when they are finished drinking?

Why would they just break a glass like that? Sometimes they thow it in the fireplace too.