Hmm... She's the one who logged into his Facebook.  He assumed that was private and she wouldn't see it.  It's not an asshole move to break up with someone because you can't handle the distance.  It is however an asshole move to log into someone's account and spy on them.