I have noticed a few pods that do that, and after cutting them open noticed that the seeds on the side that curls in were not formed, they were just little black dots. So, maybe, this happens when seeds dont form so the pod doesnt need to grow on that side.