Metals form basic oxides because they react with oxygen to produce compounds that can neutralize acids.