A leaning ladder was thought to resemble the gallows and so by walking underneath a ladder, you are playing out your own execution. Another explanation points to the triangular shape a ladder will take when erected or leaned up against a wall. The triangle is considered the symbol representing the Holy Trinity and to walk through a triangle violates and desecrates God while you, the perpetrator, fall prey to Satan.