AWS EMR clusters have termination protection disabled which may shut down EC2 instances by accident.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/emr_cluster#termination_protection