Again, not trying to turn this into a ship debate (though I am a Smackie), I don't think it's an issue of a subordinate hooking up with a superior. It's more of an issue of chemistry and history.
Stella has known all the other guys (Mac, Flack, Danny, Hawkes) for much longer than she has known...