Among the given compounds Mg(OH)2 is weakly basic, Al(OH)3 and Be(OH)2 are amphoteric. Only B(OH)3 is acid. It is a weak monobasic acid - Boric acid (H3BO3). Also it is Lewis acid and not a proton donar (Bronsted acid). B(OH)3 accept lone pair of electrons from water molecule .
In this species B3+ due to its very small size polarize O-atom upto greater extent and attracts its electron cloud towards itself.
Hence, O atom in turn pull the bonding electrons of O−H bond thereby making this bond weak. Thus this species has tendency to loose proton. B(OH)3+H2O⟶[B(OH)4]−+H+