The magnitude 6 earthquake struck around midnight local time on Monday, with the eastern provinces of Kunar and Nangarhar being the worst hit.