I'll try to explain this on another way.
When positive terminal is higher (always in terms of voltages), the output will rise until it reach a voltage close to positive voltage terminal. And opposite happends when polarity on input changes. This goes very fast, but let's say it doesn't (more easy to explain then).
When connected as this, let's assume time t0, the moment you switch on power.
Let's assume there is always 2V on positive terminal, regardless if power is on or not (just to make it easier).
There is many different opamps models, so we also need to assume that output voltage is zeero the moment after power is applied to circuit (in real life it can be everything).
Power is on and situation is that negative input follows output, always. This is now 0V (assumption).
Positive terminal is 2V, wich is higher. Therefore the output rises.
When output reach the same voltage as positive input, the speed of the voltage rise slow down.
But because of delays, output voltage will swing a little bit above positive input voltage.
Now, the opamp detects that negative input (remember: still connected to output) is slightly higher, so the output start decreasing voltage.
And the swinging will continue until it sets at same voltage as on positive input.