Loki's twitching is just one of the ways that Gyllenhaal lets the audience know that he is starting to crack under pressure, just barely keeping his cool throughout the film's incredibly stressful events.