But your parents can’t just buy the toy. The only way to get the toy is through the element of chance - sometimes with a near zero win chance - by spending real world money.
The only reason it’s not de-facto gambling is that there are consolation prizes, but in most peoples’ view that doesn’t make it morally okay to push on children, nor does it make it completely not gambling either. It’s just gambling with consolation prizes.