Is Star Wars Battlefront 2 Lootbox System Pay to Win

Star Wars Battlefront 2 had a lot to prove and a lot going for it. EA and Dice desperately trying to prove to fans of the series that they have learned from the mistakes from the previous Battlefront game. In many cases they have, the game feels and plays great, but the game's loot boxes system has spread into the game's progression system, making the game feel to many players as a "pay to win" rather than a fair experience. Can the game recover from its poor reception? How can EA rectify these mistakes, and why did they think they could get away with this?