The hearts are just a visual representation of relationship value, each heart = 10 relationship points, you gain relationship points by doing stuff together like cooking, running, passing skill checks during day events and during party