Why Write Software? Because you can and because it is fun.
What is Software?
It is math; it is machinery; it is ideation made concrete. Unless printed ("hardcopy") it exists only as patterns of light/electrons/magnetism and human thought.
Crucially, the "marginal cost" to duplicate such a pattern, once written, is so close to zero as to be effectively immeasurable.
1/...