It's not the profit, it's the surprise
Compare the two bars each time.
Every quarter, listed companies report their profits. The market has already guessed the number. Watch what happens when the real number arrives.
The price reacts to actual versus expected , not to the profit on its own.