Because aluminum will be passivated when it meets concentrated sulfuric acid and concentrated nitric acid, that is, a dense oxide film will be formed on the surface, thus preventing the reaction from continuing.
This is the characteristic of aluminum, which can only be passivated by concentrated sulfuric acid and concentrated nitric acid, so it can't be filled with acids such as hydrochloric acid and dilute sulfuric acid.