Tectonic plates are always moving slowly. When friction happens and they stop moving it sends a big wave on the earths crust. Which feels like an earthquake to us.
Tsunamis normally happen after an earthquake. The oceanic plate is being forced down the mantel by the tectonic forces. And the friction between the subducting plate and the overriding plate are enormous.