Ball pythons escape because they can. There is no real reason, if they can get out, they will. What you should focus on is HOW it's getting out. Any hole or gap about the size of their heads, they can fit out of.

Second, is you husbandry good? Temp, humidity and such? Enough hides?