Why does Japan have tsunamis?

out in the ocean, the tectoic plates submerge under another. this causes and earthquake. when an earthquake occurs it makes a wave. once this wave reaches land it creates a tsunami. because japan is an island it is surrounded by ocean all around its border