When you delete the VMs you also needs to delete the associated NSG,disks and public IP if any or else they are left as orphan and ASC still shows them and post all the associated cleanup is done it sometimes take upto 24 hours to reflect in security center