Answer
Building stone fortresses was a drastic measure that Béla IV allowed to fortify towns against the Mongols. This was necessary because the Mongols had superior military technology and tactics, and could easily defeat wooden forts. Stone fortresses were much more difficult to destroy, and could withstand the Mongols' attacks.