It's very very common. After all, death is the biggest thing that can happen to us so it's not easy to comprehend with our tiny brains when we actually get as closest to it as possible. It's a very taboo topic and when it suddenly becomes the topic number one, your brain activates one of its coping mechanisms, which very often is derealization. "It's not real so you're not really in danger".