Similar setup, but their being shaken is just about the polar opposite of that scene in The Graduate.
That was them having won the movie, embracing a romantic fantasy and affronting the expectations of society, just to immediately turn around and wondering what the fuck they were thinking doing that as the weight of their decisions slowly impacts.
This is Star and Marco shying away from making that kind of decision, deathly afraid of their mutual feelings and the impact they would have on their lives if acted upon.
The whole episode is them realizing they are very much in love with each other and that to pretend otherwise has negatively impacted them both but they are so afraid of hurting anyone they basically agree to hold up the charade a bit longer.
But that's just my interpretation.