The shuffle/distribution algorithm is entirely random. You can read up on it here.
This completely random distribution feels different from a game at a "real" table, because in reality, cardd are never distibuted 100% at random. This is because of how paper cards behave and because a human can't shuffle like a machine.