The Catholic Church thinks miracles are works of God, possibly specifically, or throughout the prayers and intercessions of a specific saint or saints. There is frequently a certain reason connected to a wonder, e.g. the conversion of anyone or folks to the Catholic religion or the development of the church https://livingchurchministries.org/jesus.htm