I don't think it's random.
The game is set up so that it makes you invest real money in it to "catch up" investing players.
So for that to happen, games are scripted and decided by algorithms.
This started to happen at least since fifa 13.
Last I played was fifa 17.
I remember playing 2 games...