If you think of acid dissociation as a reversible process, it would make sense that the more stable (thermodynamically) a product, the more it's formation will be favored at equilibrium. When resonance stabilizes the conjugate base, the equilibrium will further favor product formation, making an acid more acidic.
Electron-withdrawing groups on an acid have a similar effect. They distribute charge density over a larger area, stabilizing the conjugate base and making the acid more acidic.
Hope this made sense!