Doesn't show your location so I'm going to suggest an aardvark or South American anteater. You never know.
Might consider sprinkling with
diatomaceous earth occasionally. It works but it must be kept dry & patience is required.
A few years back I used an old
solar oven to dry some soggy
firewood. I remember seeing some ants & other bugs trying to escape.
The container of water around the legs technique worked for a beehive of mine once. Never did figure out why they wanted to live inside the top cover. Even moving it didn't help. They've never been a problem with any other hive.
Ants & other critters simply like wood. I wouldn't worry about it much. Just take (non-pesticide) precautions not to let them invade inside your house.