Are we sure we can call that targeted pharmaceutical advertisement? It sounds like it could just be the algorithm accidentally discovering a correlation between expecting mothers and preference for unscented hand creams and such.
Unless Amazon did specifically program that in, I think these accidental correlation is not something you can control before it happens and trying to regulate them would be a waste of time and resources.