why do i die out in the desert? [First Encounter]

I thought to explore the desert behind where you first start, there is a cool encounter and a little oasis, then as I was exploring another corner of the desert, I suddenly started taking massive damage and died. Tried at the same spot and was able to back out of it and survive with just 20 health.