Answer:
Karla glared angrily at Eric as he nervously tried to explain why he was late.
Explanation:
You have to see what the word is affecting. Here it isn't saying Eric is nervous.
It is saying he is explaining in a nervous matter. Nervously is affecting the verb, not the noun.
Same with Karla.