There's two main effects:
- Negative expected value (EV)[1]. The games are set up in a way that on average you're likely to lose money. This is true for every game where you play against the house, otherwise the game wouldn't be there. Poker is different because your EV depends on how you play relative to other people.
- Bankroll management and risk of ruin[2]. Even in a fair game, if you start with a short bankroll, you're likely to go broke. For example, let's say two of us flip a completely fair coin and bet $1 on each flip. The expected value for both players is $0. Now if one of us starts with $5 and the other $1000 and we play repeatedly, the person with the smaller amount is almost guaranteed to go broke in a long series of flips. This what happens when you play against the house and it's the main reason why people lose money when they gamble in casinos.