Cosmic explosion on a planet