It’s a combined issue that began in Gen 6.
Not only do you have a much more powerful Exp. Share than you had in Gen 1 (when it was programmed incorrectly) or Gen 2-5 (where it only affected the Pokemon holding it, thus also losing a held-item slot for that Pokemon), but you also have opposing trainers with less Pokemon…