This expression applies when corresponds to someone performing a task or make a decision very uncomfortable or difficult, being obliged to do so.