Photos with a name ending in _n.jpg
My research shows that images downloaded from Facebook always ends with “_n.jpg” !

So you must have downloaded them from Facebook to your phone. 

iCloud then synced them with your Mac, unless you transferred them your self.