What caused the gujarat earthquake?

Gujarat lies around 400 km from the plate boundary that is located between the Indian Plate and the Eurasian Plate. This earthquake that struck Gujarat was caused by rifting reverse faulting on reactivated rift faults