Larger drivers can generally handle more power, and lower frequencies require more air movement (requiring more power) to be perceived at a comparable level to higher frequencies. An 18” woofer can move much more air than an 8” woofer. The design of subwoofers is of course much more complicated than just “use a bigger woofer” but it makes the task much easier.
Another way to think about it - 2-3” headphone drivers are capable of reproducing bass and subsonic frequencies that are perceived at a reasonable level. This is because they’re right next to your ear, so there is very little air that must be moved to reproduce those frequencies. Same with teeny tiny IEM drivers, which require even less power. Larger drivers just make it easier to design a subwoofer that can move enough air to reproduce those frequencies in a room.