Speculation but I think it can be as simple as Art. 4, p. 3 FADP [0]: "Personal data may only be processed for the purpose indicated at the time of collection, that is evident from the circumstances, or that is provided for by law."
When users upload data to Facebook, they don't consent to have that data used by third parties for facial recognition.
[0]: https://www.admin.ch/opc/en/classified-compilation/19920153/...