Defender for Cloud relies on an Azure Monitor workspace and the Azure Resource Graph. The data in these tables may take time to drop from your views. Especially anything originating from the workspace. This data is largely immutable and cannot be modified or removed. I assume you many need to let these records expire. It depends on how the view you are using is designed.
I am not certain if the resource graph performs the same way. Here are some related queries that may help: