The operating system should be able to answer, "What damn program was just accessing the microphone?" It should be able to tell you and then destroy the offending program. But, it can do neither. In fact, removing the offending program could very well brick your phone.
How is it that basic, necessary functions are missing on so much of our technology?
Because it would impede their ability to spy on their cattle.