ExFAT is not limited to a 4GB maximum file size. It just has more than 4GB in the file.
I guess 4GB seemed like a reasonable limit when FAT32 was designed.
Most likely FAT32 has a 32bit number for file size and ExFAT presumably has either a 64bit one or stores file size in some format other than bytes.