Impact events on Mars 3.4 billion years ago triggered massive tsunamis that reshaped the coastline of the ancient Martian ocean.