Rubbing side of head

Has anyone’s baby done this before? Is it teething?

No other symptoms that would make me think ear infection