Eventually the line reaches the shower head and one gallon of water will exit there for every 4 or 5 that comes out the tub spout.
Why no pex for tub spout drop.
Long story short it is unacceptable.
So it s fine to have 1 2 pex going to the shower head.
Valve to tub spout tube is.
If the valve has a built in diverter three handle valve this would not be an issue.
2nd reason pex is flexible and the spout relies on the pipe for support.
Valve drop to spout tube is within the 6 11 inch tolerance.
Any restrictions cause the water to gently back up as it waits its turn to exit the tub spout.
The tub spout can be copper brass or galvanized pipe.
You cannot use pex because the pipe coming out of the valve needs to be able to support the weight of the tub spout and handle the abuse of pulling pushing down of the divirter built into the spout.
With a built in diverter you could use a pex drop eared ninety degree female adapter and a nipple but that is more trouble than it is worth.
Pex when you pull up on the diverter the entire spout moves.
The interior diameter of pex is actually a fraction smaller than copper this forces water to come out of the shower at the same time as the tub spout.
Pax has a smaller inside diameter than copper when you will turn on the spout your showerhead will also be dripping if you read the manufacture instructions it will say do not use pex for spout level 2.
You need an unrestricted flow out through the tub spout.
Copper keeps the spout in place.