I experience this a lot (even up to complete freezes, even of the touchpad feedback, leading to crashes) and am confident that it is at least related to swapping due to memory pressure / RAM usage.
Why they'd let the system become unstable rather than killing some apps that are too much goes beyond my understanding.