July brought a great stock market rotation. Here’s why it is happening