@Anil Kumar Greetings!
When you purchase a reservation for a specific VM size, such as a d8ds VM, and it gets deleted, the reservation discount will automatically apply to other running VMs that match the reservation attributes within the same scope. Since you have two d2ds VMs in the same resource group (RG), the reservation discount will not apply to them because they do not match the size of the reserved instance (d8ds). The reservation is specific to the VM size you purchased, and without instance size flexibility, it cannot be applied to different VM sizes.
If you had enabled instance size flexibility while purchasing the reservation, the discount could have been applied to other VM sizes within the same series, such as the d2ds VMs in your case
Let us know if you have any other questions or need further clarification!
If the response helped, do "Accept Answer" and up-vote it