What's freedom of the press got to do with anything? Freedom from unreasonable search and seizure is, at least in theory, a Constitutional guarantee.
Incidentally another (theoretical) Constitutional guarantee is that government only has powers specifically enumerated. So asking why the government isn't allowed to do something is a funny sort of way to come at it.