Reasons for cooperation or defection in real-world social dilemmas