Why did the condom come off?

My boyfriends condom came off during sex.. What would be the cause of this?