Both Al and Be become passive in concentrated HNO3 because the acid forms a thin, protective oxide layer on their surface that prevents further reaction. This passivation is characteristic of metals that form amphoteric oxides and occurs only with concentrated nitric acid.