That's because the 14th Amendment extends the "due process" requirement to the states, and under the [Incorporation Doctrine](https://www.law.cornell.edu/wex/incorporation_doctrine) respecting the 4th Amendment has been considered part of "due process".
FWIW; at camping festivals, I know your tent also is a temporary residence and requires a warrant for search.