There could be a few reasons that the yogurt didn't set. One could be that the starter yogurt you used didn't contain active bacterial cultures. Another reason could be that the yogurt didn't heat enough in the instant pot or got too cold before adding the starter.