Just how do apps provide us with an excellent dopamine hit?

Just how do apps provide us with an excellent dopamine hit?