When Trainee Performance Falters: Beyond Motivation in Medical Training