How Does a Hard Fork or Soft Fork Change the Block Size Limit?
A hard fork is a permanent divergence from the previous version of the blockchain, requiring all nodes to upgrade to the new rules. A hard fork is typically needed to increase the block size limit (e.g.
Bitcoin Cash). A soft fork is a backward-compatible change that tightens the rules, like SegWit, which introduced the block weight limit without requiring non-upgraded nodes to stop processing new blocks.