Senpai was definitely in love before the thread appeared and seemingly didn't know, so I think it happens when one of the parties realizes that they love the other, or when both are interested in romance. I think that it also probably has the condition that they have to be perfect for eachother...