What I don't understand is why Apple could create such software but a hacker could not exploit it.
I feel like that mean that there is already a backdoor.
There is no way that a backdoor like this could not be exploited by someone else if they found out the way to do it.
The other one is that there is no way the government can guarantee Apple to only use in the "right" cases after they have access to it.