I've never given my birthday or gender to a hotel, so my best guess is that they just have this info for some people but not most (rewards programs, perhaps?). It's possible they write it down when I give them my ID, but it seems like a lot of work for very little payoff.