More specifically, an opportunity cost, which when doing profit maximization is called implicit cost. So because depreciation is a recognized expense, meaning cost, by the accountant, economics accepts this and would consider it an explicit cost.