A beginner wont get addicted if he learns the math behind betting odds and casino games
Tbh most of people ignore it because the adrenaline rush from gambling is too much
A beginner forgets about maths and odds when they hit a big win in the initial stage, lol. This is the biggest reason why they get addicted despite knowing everything about gambling and how much one can win or lose if they are involved in gambling. Despite knowing the fact that excessive gambling can be destructive, people gamble more than they are supposed to because they either get greedy after winning or start chasing their losses after losing.
The point is, that it's not always about knowledge and understanding what gambling is and how it works or the maths and algorithms behind it, these things are often overshadowed by the emotions and the adrenaline rush as you mentioned and the gambler forgets everything after something like that happens.