This could be caused by insects feeding on the pods. Certain sucking insects, such as stinkbugs and leaf-footed bugs, inject chemicals that cause an area of the pod to stop or slow down growth. The area of the pod growing normally ends up curved or bent. The pods can still be eaten. No control is necessary unless the bugs are still feeding on the plants.