I believe that when God created a thing, He gave that thing a degree of sovereignty to exist and to interact with all other things in creation. The "rules" of this is what we commonly call "the course of nature."
Also in the OT there is the hard implication that "the land" when burdened by sin and abominations will seek to vomit out the inhabitants. This, I believe, is a natural reaction much like vomiting is. The body when poisoned or ill will seek to vomit out the poison. I do not know the mechanism in the course of nature that causes this reaction. It may be an unexplained aspect God built into the world. This may cause these "things" to appear to be conscious, but I doubt it is conscious in the same way we are conscious.
Leviticus 18:27-28 KJV
27. (For all these abominations have the men of the land done, which were before you, and the land is defiled

28. T
hat the land spue not you out also, when ye defile it, as it spued out the nations that were before you.
Leviticus 18:25 KJV
25. And the land is defiled: therefore I do visit the iniquity thereof upon it, and
the land itself vomiteth out her inhabitants.
Leviticus 20:22 KJV
22. Ye shall therefore keep all my statutes, and all my judgments, and do them:
that the land, whither I bring you to dwell therein, spue you not out.
It could be a part of the nature course of nature such as sowing and sowing. I hesitate to use the word karma... but you get my gist.
Galatians 6
7. Be not deceived; God is not mocked: for whatsoever a man soweth, that shall he also reap.
8. For he that soweth to his flesh shall of the flesh reap corruption; but he that soweth to the Spirit shall of the Spirit reap life everlasting.
The land just gets sick of what is happening... again, not a sentience, but a predetermined course of nature that appears to be sentient.
Leviticus 26:43 GNB
43. First, however, the land must be rid of its people, so that it can enjoy its complete rest, and they must pay the full penalty for having rejected my laws and my commands.
As a analyst and systems engineer, I used to play around with AI systems trying to see how we could get them to work. Regardless of how complex and deep your code and data may go, the output will always and only be a refection of the people who designed it and the data they have entered. It appears sentient, but it is not. It is just code and data. Perhaps this is what we are seeing in nature.
Peace