Why the Catholic Church revived the inquisition?

The Catholic Church did not revive the Inquisition. The Roman Inquisition ended at the end of the 19th century, and the Spanish Inquisition ended in the middle of the 19th century; neither has been revived, and the Office of the Inquistion was formally renamed twice since then.