That's not how economists use rationality. Individuals derive other enjoyments from gambling besides their earnings. This desire to seek things they like is the "rationality", purposeful behavior, not the ability to make optimal bets or play mathematical games.