I haven’t worked much with simulations, but I think I know what’s happening. The cloth simulation can only see the subdivision level set in the viewport and the subdivision modifier can’t see the cloth simulation at all.
Maybe applying the subdivision modifier or moving it below the cloth one would fix it.