I have literally made $100's worth of bets on those crash/aviator games and I never won the house edge of those games. I thought that my luck isn't going to favor me in those games and that's why I gave up on those games. However, I still sometimes play those for entertainment purpose.
I suppose the game knows the outcome when it starts. What you see on the screen is just a visual representation of the game and it extends the time in which you can bet.
Imagine that in roulette, you press roll and the game is supposed to choose a number from 1 to 38 and every second number is marked as black. You press roll and the system knows that it's 5 red, but it lets you watch the table spin for a few seconds until it shows you the number.
Crash or aviator games are similar. The game instantly knows that it will go to x5 this round but it lets you watch the animation and cash out your bet at any moment.