After reading a few artcles this is what I found.
The laws of chemistry rely on the laws of physics which in turn rely on the laws of mathematics and logic to exist.
If I see order in in the way a plant grows or in my morning coffee getting cool it is only because math and logic are orderly.
It is inconceivable that the development of a plant would be orderly without something imposing that order on it. Many see God but it could as well be that there are a few laws which cause all order.
Even if the results are orderly are those few laws random and unorderly?
It is not proven yet but deductively all our observations have lead us to answer that yes even the basic laws are orderly. We have laws that we use to describe the actions of the laws.
For example, the laws of nature of not orderly might work one way today but work a different way in ten thousand years. They might not be consistent from one side of the galaxy to the other. But we have observed that the laws of nature do follow order and they appear to be completely orderly in terms of how they operate both across time and space.
Are math and logic the result of an intelligence? If we are to be consistent then before answering the question we must define what criteria we will use to say if a thing is the result of intelligence or not then apply our rubric to the question of math and logic.
no matter how far you burrow down there will always be a point where you can't explain further. there's your intelligence. but simpler than that, where did that math ans logic come from ? how did anyone get pointed to even wonder why ?
the answer is really pretty simple.