I would assume that the author does this to show how indifferent the person in the book is, she/he doesn’t know what they are in life, this makes it relatable to readers who have had this feeling before and it shows how the character is feeling in that moment
Mercutio and Benvolio do not realize Romeo's love for Juliet because they believe he's in love with Rosaline. Hope this helps.