Why would a hotel ask how many people will be staying in the room?

What does it mean when a hotel asks that? I said it's only myself. They upgraded me to a king suite? I'm female btw. What do hotels think of alone females?
5 answers 5