When launching an arrow on Java edition, the damage is calculated with the speed of the arrow included. This only happens with player arrows, or command summoned arrows on Bedrock edition. When using dispensers or skelletons or pillagers to collect arrows, these will not deal increased damage with higher velocities.
This issue is being tracked at MCPE-170186.