How did it fail at being P2P e-cash?
You can use bitcoin completely/as anonymously as cash if you wanted to, the same way you’d have to put in a bit of effort to have a completely anonymous cash transaction.
Monero (XMR) which is a fork of bitcoin, is much closer to actual cash