They have gotten bolder with time, pushing each other into shadowy nooks, slipping inside unoccupied tents and dark gunships, so Anakin does not think, he just acts because want is quickening his pulse. He cannot know that months from now, it will be this act – him shoving Obi-Wan against an alley wall – that changes everything.
Or Obi-Wan and Anakin before and after the whole galaxy learns of their secret relationship.