NaOH+Al(OH)?=NaAlO?+H? O
(NaOH: attacked by Al(OH)?: Attacked)
Aluminum's whole family is abnormal.
On the one hand, it can react with acids, which is logical; on the other hand, it can also react with bases to form something called "metaaluminate".
Of course, it was much later when sodium hydroxide learned about this.
Concept: Life is never summarized by rules.