Short sellers basically bet against troubled stocks. /r/WallStreetBets called them on it by pumping some of those stocks up, costing short sellers billions.
As for who will profit, probably not the people who were shorting GME, but at this point it's impossible to say.