When do Tsunamis Occur?

Tsunamis occur due to large impact of Earthquake on water. When Earthquake occurs in coastal areas, it imparts water so hard and waves get higher.