He lost a friend because while
His friend was out with his friends
He made friends with his friend's girlfriend
And he and his friend's girlfriend made a new friend.