If a node considered to be removed then the Kubernetes will run extra pod before deleting the main pod to avoid disruption in the workloads.
Also, you can use pod disruption budget which will schedule extra pods on other nodes before deleting the running pods to avoid any downtime.
You can also see the cluster auto scaler FAQs which explains the behavior when scale up or scale down happens.
Hope this helps, and please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.