Basically, Gatorade’s additional sugar and carbs mean that it makes sense if you are highly active, have a considerably above average physique, or actively drinking it mid work out or other strenuous activity.
For more average people, pedialyte probably makes more sense.
Especially if you are going to pick one to replace water.