Almost lost a wheel

This is an Adapter not a spacer although it does create space. Spacers are safer than adaptors.. Never use adapters for the very reason you discovered .
Do a proper BBP axle swap, it’s the safe way to go. If your making any kind of decent HP get 1/2” long studs .