Like everything, there's no solid answer. Some software is, some isn't. Some software exists simply because an engineer needed a very specific tool and didn't want to run a business out of selling said tool - no different than a carpenter making a custom nail for a piece of furniture they were working on.
Other software was designed because of / with a political / philosophical ideology in mind, such as that all software should be free to use.
Creating something isn't always political, sometimes you just want or need to make something. If you choose to make spaghetti for dinner tonight instead of fried rice, that's just because that's what you were in the mood for. You might have ideology or beliefs attached with the kind of food you eat, yes, but the act of creation in that moment was not spurred by them - you were just hungry and in the mood for one over the other.