Motors are like inductors with a series resistance Z=Rs+ back EMF raises the impedance from motion at commutation rate * inductance
A good design will have high torque limited by V+/Rs that also causes surge currents of load at peak up to 8x typically unless controlled by soft start.
This is a good Rule of THumb. Some may be lower 5x.
Another 5V reg is 78R05 with 0.5V drop is far better then 7805 (old)
Remember Zout of Op Amp rises from Ro/feedback at 0~1Hz to high Zout at GBW product due to lack of feedback.
Same with LDO's So as impedance rises from negative feedback , the opposite is true with an output cap, which is used to suppress HF noise, but not DC ripple from ratio of Motor Rs to ESR of LDO ( Check load regulation specs which are inverse of ESR)
Always understand the load ESR ( coil resistance), the power sources ESR ( inverse of load regulation error) and Cap ESR for high current ripple voltage.
Same with all semis and Diodes which when saturated have ESR approx in a 2:1 range.
If it states Vout drop at rated current,
this is ESR. Or it gives worst case Vce(sat) rise at rated current, this Rce or
ESR.
If it gives Stall current... this is motor Rcoil or
ESR
If it gives max ripple current in big cap, this is limited by heat , max temp, thermal resistance and
ESR of cap
If battery drops ?V/ I load..
this is ESR, which rises rapidly near EOL or low SoC
(forgive my liberal use of linear effective series resistance
or ESR, but if you learn this ,you understand these things and much more
even if ESR changes with aging, temperature, operating current ... the variations give you clues.
Thus never run motor from a poor LDO