Stiles is like her best friend, in fact. He's the person she contact first when something goes wrong and the one she wants to save first in this case. Maybe she loves him without admitting but it's sure he's the person she is closest in the show.