Question: why did yuri kill herself?
Answer: She is ultimately unable to control her obsessive outbursts. It reaches a point where, after she confesses her love to the protagonist, she stabs herself to death out of over-excitement or rejection (depending on the protagonist's response to her confession, both lead to the same outcome, courtesy of Monika).