Why exactly were Harrier jump-jets taken out of service in the RAF and Navy?

I understand the issue about costs, but I still fail to see why such a versatile jet was taken out of general services in the UK forces.
2 answers 2