I am more interested in the logistics of color association changing to the complete opposite of the way it was before, not so much the why.
These links should not discourage further answers, but you may be interested in these earlier responses from u/chocolatepot:
https://www.reddit.com/r/AskHistorians/comments/3kopmb/where_did_the_association_of_pink_for_girls_and/
https://www.reddit.com/r/AskHistorians/comments/5n8hdq/when_and_why_did_blue_become_a_boy_color_and_pink/