Larger amp hour batteries absolutely provide more power to the tools.
Yes, in an ideal world two 18v batteries would both deliver 18 volts regardless of capacity, but voltage drops as batteries discharge, meaning a larger battery keeps a higher voltage for longer. That and the current draw...