Sometimes, it's a limitation of the physical hardware or USB specification, while in other cases a manufacturer may implement ...
Most people find that there's no better time to charge your iPhone than when you're asleep at night however Apple have warned those that do.