Things don’t just pop up by themselves on Facebook, so it is likely that your friend put it there (or anyone that has access to his Facebook account). The reason that your former friend did put it there can be manifold. He/she likes him-/herself in the pictures, he/she wants you to see them (either to annoy you, or to make you rethink your friendship with him/her, etc.).