Comment by sandreas
I did a lot of research regarding the trackpad situation on modern Linux and there are several reasons the macOS experience feels better for most people.
The most important one is indeed SOFTWARE/DRIVER implementation. Using a hackintosh, the feeling is not the same as a MacBook, but close (depending on which Hardware is used). Furthermore there is ONE UI framework (AppKit?!) which makes implementing things like inertial scolling and rubberbanding pretty easy in one Place. On Linux you have multiple App Frameworks (GTK, QT, ...), which is significantly harder to coordinate and the backwards compatible X11 stuff. Did you know that libinput has only one permanent maintainer (Peter Hutterer)?
Of course the amount of Hardware to support is significantly lower on apples side, which makes optimization easier.
Still, all in all I think the Linux touchpad experience is very close to macOS on my Lenovo T480s with a glass touchpad from a yoga 7 in Arch / GNOME. The only thing that really is not as good and what bothers me From time to time is Palm detection.
I use Fedora+Gnome on a 2021 MBP and the hardware+firmware+driver+software combination is perfect as far as I'm concerned.