The first "woe" is a lamentation. The second one is a condemnation. In other words, Jesus said, "Problems in this world are inevitable. But if people are being derailed in their faith because of your cynicism and unbelief, woe unto you."