A lot of companies are dysfunctional and their hiring managers are incompetent. Never take it personally or let it affect your self esteem. I witnessed this first hand in 2018 when doing rounds via Triplebyte. A good proportion of those companies who rejected me either went under or are about to go under. Luckily for me I landed at a publicly traded employer and my former employer had their liquidity event. I don't plan to interview ever again if not absolutely necessary.