To understand the event "It was Mary's birthday.  She got presents from her friends.", it is important to know that It's customary on someone's birthday to give them gifts to celebrate.