It's more expensive to make a lever action rifle than a cheap, budget bolt action. Just consider the shapes of the steel parts and the types of machining processes involved.
Plus, like you said, when both Winchester and Marlin were in business they were both just old, outdated, rifles. Once...