More people means more towels, more noise, more people in the gym and swimming pool, and more of the chance for the room to get damaged. Hotels don't want to get a reputation for wild parties, drugs, and prostitutes, the sort of things that people who lie about how many guests are in their room are liable to do.