Curling up is a natural defense mechanism for tarantulas when they feel threatened or stressed. This behavior helps to protect the tarantula's vulnerable abdomen from potential predators.