In tech (especially in tech it seems sometimes), there are people with very large egos. They’ll want to “put you down” or keep you down as long as possible. They’ll do this by speaking negatively to you or making you feel inadequate compared to them.
When you see this behavior, it has nothing to do with them. It has everything to do with their insecurities.