Most shampoo bottles are landfill-bound, not ocean-bound, so be wary of marketing campaigns that automatically tie recycled plastic or plastic-free alternatives as “ocean-friendly”.
You still need to consider all the plastic around the bottle too, including the plastic film used for palletized goods (cling film literally lasts a millennia before it degrades!)
Our plastic problem goes way beyond what we throw out: it goes back to the amount of virgin plastic we create, the inefficiency of recycling the plastic we already have, and the “on-demand” consumeristic mindset that makes this type of throwaway plastic in such high demand.