Firstly this is not the west scrapping the ship - It is the Indian Government. Much of Viraat/Hermes steel is pre-nuclear and therefore more valuable than ordinary scrap steel.
Second thing is the law now requires western ship owners to scrap them in approved ship recycling facilities. There have been big fines for companies caught avoiding this.
N