Van der Waals interactions involve two molecules, when they are very close together, exhibiting attraction to each other as a result of instantaneous and very brief shifts in their polarities (e.g. consider molecule A on the right side of molecule B; the electron cloud briefly shifts to create a positive polar charge on the left of A and a negative charge on the right of B resulting in attraction).
However, why aren't these interactions also instantaneously cancelled out by repulsions that arise for the same reason? So, for one moment A is positive and B is negative, but the next moment A is positive and B is also positive and they repulse with the same strength that they interacted. What gives?