Take lll-A group oxides as an example.
III-A group is B,Al,Ga,In,Tl.
Now, Boron oxide,B2O3 is acidic and Al2O3 and GaO3 are amphoteric while In2O3 and Tl2O3 are basic in nature.
What is the reason behind this?
As suggested in comments, major factors play a part
As the atomic size of the element increases, its electron affinity decreases consequently. It turns out that when moving vertically in the periodic table, the size of the atom outdoes its electronegativity with regard to basicity. The atomic radius of gallium, for example is approximately twice that of boron, so in a gallium ion, the charge is spread out over a significantly larger volume.
Electrostatic charges, whether positive or negative, are more stable when they are ‘spread out’ than when they are confined to one location.
The ability of an atom “to accept an electron” decreases down the group therefore increases the tendency of the elements to be good Lewis bases (recall a Lewis base is an electron-pair donor). Thus the decrease in electron affinity down the group means the elements readily donate an electron rather than accept them.
The more electronegative an atom, the better it is able to bear a negative charge. Down the group, the electronegativity of the elements decrease down the group. B is very electronegative and doesn’t readily release electrons but instead holds on to it, additionally is able to stabilise a negative charge, and consequently has good acidic properties unlike proceeding elements down the group.