Health Log Questions?

How does this app determine what caused what feelings? Like I'll put in feeling emotional and happy and then tap because love life, but then it will say 'you're feeling emotional over school'. How does it decide that?? How do you get it to register why you're feeling a certain way?