By saying that the hotel is full, they can charge higher rates for any remaining rooms and increase their revenue. Additionally, hotels may also be trying to create a sense of urgency in potential customers so that they book quickly before all the rooms are gone.