It is salary, but it goes not into operational expense (that applies directly creating the things you sell right away) but into building a capital asset that helps you generate future revenue and can depreciate over a number of years.
It's just as if you pay the salaries of some construction workers to build you a new factory - those salaries are part of the capital investment for creating that factory (and depreciated as that asset), not your operating expenses.
It's just as if you pay the salaries of some construction workers to build you a new factory - those salaries are part of the capital investment for creating that factory (and depreciated as that asset), not your operating expenses.