Put a box on the floor and cats just naturally gravitate towards them for no apparent reason. It’s not like cardboard boxes are something wild cats typically find in the forest or jungle. Yet cardboard boxes are like magnets for cats.
Essentially cats like the sense of security and protection that boxes provide. That’s why cats tend to explore enclosed spaces like dryers, washing machines, and open refrigerators. That’s also why cats like cat furniture that provides plenty of space for them to crawl in and hide.