In this moment, Teo has transitioned from being confident in his religion and journey to being completely sure of them.
I am glad you explained his reaction, because to me it seemed like he was laughing sarcastically out of sheer frustration from the sight of the massive swarm of scorpions and/or perhaps the absurd difficulty of his journey up to this point.