That is an important question. Is mathematics a convenient construct — a human invention — that we humans use to describe nature? Or is mathematics more fundamental — intrinsic to the Universe — mirroring the divine ordered creation of a reasonable logical Creator?
Theoretical physicist Lee Smolin in his book1 “Time Reborn” argues that what he calls the Newtonian paradigm is a myth. What he labels the Newtonian paradigm is the attempt by theoretical physicists, beginning with Sir Isaac Newton, to describe the Universe with immutable laws, using a mathematical description. Those laws are unchanging in time, as reflected in the idea that Newton understood the laws of nature as the result of Divine creation and hence that they are unchanging in time. Newton wrote:2
And from true lordship it follows that the true God is living, intelligent, and powerful; from the other perfections, that he is supreme, or supremely perfect. He is eternal and infinite, omnipotent and omniscient; that is, he endures from eternity to eternity; and he is present from infinity to infinity; he rules all things, and he knows all things that happen or can happen.
From this standpoint he understood the laws of nature as the special creation of God. These resulted concomitant with the special creation of the Universe itself. The Universe is not the result of blind chance acting on some initial conditions and evolving accordance with those laws.