The true anomalies are next to the dense group: closer to a centre than many normal points of the sparse group. z-score and IQR only look at how far each point is from everything, so they flag the edges of the sparse group; LOF compares each point with ITS neighbourhood and finds them.