Pregnancy Scare

I was in the middle of a pregnancy scare so I took a test. Turned out negative. Thank god but can anyone explain to me why I’m sad even though I didn’t want to be pregnant??