When aluminium reacts with acid to form salt and water then in that type of reaction aluminium oxide behaves like a basic oxide.
Whereas, on the other hand, aluminium oxide behaves as an acidic oxide because it reacts with a base to form salt and water.