I think at least part of it is already clear. She liked that guy, kinda, they were flirting at least, but it never developed into a full-fledged relationship because she died.
Then she came back to life and was horny (valid, she’s dead anyways, can’t get pregnant or ostracised by society) so...