Why do people always say "congratulations" when you tell them you're pregnant? - congratulations on being pregnant

I understand that to congratulate you, when you say marry. But it is different.

It is almost Knocked Up is a masterpiece, and for some people is really a terrible tragedy.