Gutters filled and frozen solid with 3+ inches of ice on the top holding water on the roof. Only house on the block like this. Can someone explain why this happened and how to prevent it?

Had to climb up there and break through the ice in spots to let the water out, since it was somehow draining into the wall in the kitchen 😬