Literally nothing to do with the British state. The boy was always going to die. The doctors sought to spare him from suffering unnecessary and hopeless treatments that have never have had a chance of succeeding. His parents - understandably - didn't want to face that reality and sentimental idiots have helped sustained their sad fantasies. The courts did absolutely everything to ensure that every avenue was explored and that every ethical argument was carefully considered before coming to the right decision.
The tragedy is that people think you can keep a sick child alive simply by force of will. You can't. Sick kids die and all the campaigns and court cases in the world won't change that.