Sometimes, guys have realizations about what they did, and they do things like this. Maybe he is trying to be your friend again, no one knows.