The most likely reason for the described changes in the area near the coastline, considering the cracked and moved earth materials, flooding, and extreme erosion, is:
Both an earthquake and a tsunami caused the damage.
This is because an earthquake can trigger a tsunami, leading to significant flooding and erosion, as well as ground shaking that can crack and displace earth materials.