Your phone has to be informed somehow, from the internet, that it has data to present as a notification. The fact that you got a notification at 3:32 and then again at 3:35 is trackable data, pretty much no matter what anyone does with it, encrypted or not. Doubly so if someone has MITM attacked your data stream. They may not know what the notification contains or even what app it was sent to, but the act of transmitting and then receiving this data packet over cell network or internet is a trackable event. And I don’t really know what Apple could even do about that beyond attempting to build Internet 2 solely for the purposes of keeping the cops out of it, which is unlikely at best.
While you may be correct I think you’re still missing the point. CLI is for super nerds. While you and I may know how to use it, the average person doesn’t, and is unlikely to put in the effort to learn. That is the innovation that Apple made in bringing computing to the mainstream. It was precisely because people didn’t have to learn how to navigate the CLI environment and instead got an easy point-and-click interface that computers caught on with the public at large, and that gained Apple an absolute ton of cash money and noteriety.