Marinette is also frequently the first person he goes to when he has a problem. He genuinely trusts her judgement. And let's not forget that Marinette forgets how to string sentences together around him so it's not even a situation of them just being really close friends. It's him actively getting through Marinette's awkwardness in order to be close to her.