Why'd they name the mosque after St. Catherine? /kidding
They probably took over an old church and declared it an islamic holy city and historical site.