To make sulfuric acid or nitric acid: you dissolve the oxides of sulfur or nitrogen respectively, in water. That's why nitrogen and sulfur are nonmetals. Similarly, since you make boric acid by dissolving boron oxide in water boron is a non-metal. Calcium is a metal because calcium oxide is lime, a strong base.