This is rather normal, not pathological. Most companies like to file patents, definitely including startups. Where do you think their patents come from, if not from work their employees do? It's work that's worth paying for.
Having some proprietary code doesn't prevent companies from also making substantial contributions to open source in other areas.