Also, what
@sinking_ship described I think could be either an OCD thing or a BPD thing. The latter because when someone with BPD needs reassurance it's usually because the last time that the person told it to them isn't sticking in their mind anymore. Borderlines tend to "forget" what was previously said when they're feeling shitty and need that same reassurance again. For example, I used to ask my ex whether he loved me about 10+ times a day, because the intense fear of being left made it not stick in my mind from the last time it was said.
It went something like:
Do you love me?
Are you sure?
Are you really sure?
You promise you're not leaving me?
Ever?
Etc., etc.
However, like you say, doing these types of things
is considered pretty manipulative. Perhaps it's not on purpose and due to anxiety or negative emotions, but still. One has to learn to control themselves at some point because it's not fair to the other person when you're constantly fishing for compliments and reassurance just because you have issues.