Why did he like and unlike her pics?

I noticed this guy I was dating for a bit had like 3 of this girl’s pictures on instagram and after we broke up, he unliked hers and other girls too
He still follows them but unliked their pics
Why would he do this?
Why did he like and unlike her pics?
Post Opinion