Exactly, Verstappen had already given Hamilton the inside line. Then changed his mind (check his steering wheel). This was after driving him right up against the wall.
This is why you should pick your line in a corner and stick to it.
With Leclerc, Hamilton had a wider entry as Leclerc didn't squeeze him against wall, and so Hamilton was closer to the apex.