In the same period or sub group a gradual change in particular property may be seen because physical and chemical properties are periodic function of their atomic number and as the elements are arranged in an increasing order of atomic number in the periodic table hence we see a gradual change.
In other words, it is due to the gradual change in electronic configuration in the arranged elements.
