In this context “literally” is being used to draw attention to the perceived obviousness of the information. Essentially saying “how could you not see this?”
It's actually funny because you answered a false question (potentially on purpose). Like:
"What the hell are you doing?!?" "Well Im stealing your car, obviously."