No, pip itself did that, and fortunately. It’s a setting you can disable if you want to be able to accidentally trash your environment.
I want to purposefully trash my environment
Pip will let you! You just have to ask it nicely.