Excessive alcohol explains all of it. Some inebriated people can converse reasonably well while their motor skills are severely impaired .
I agree with remar, it seems he was completely hammered, and if it's a one off occurrence, there shouldn't be any cause for concern. And being too drunk can cause erectile dysfunction.
It sounds like your boyfriend just got way too drunk. The alcohol could defiantly keep him from getting an erection.