How did a castle resist a siege?
Most castles had an enormous amount of food stored in them. Bigger castles had a well inside making them much more resistant. Since castles were very strong, the only way to defeat the defenders was either by besieging them or destroying the castle directly. The second option rarely happened; thus besieging was very common.