Probably engagement. The more clicks, the better.
I've switched to Tidal. It pushes some ads too, but not nearly as badly. The discovery algorithm is slightly worse but pretty close. Most importantly it doesn't keep playing the same 3 songs (at least it's more like 30).