Hydride of boron occurs as B2H6 but B2Cl6 does not exist. This is because small hydrogen atoms can easily fit in between boron atoms but large chlorine atoms do not.
Note: Instead of B2Cl6, the stable compound is BCl3 which acts as a Lewis acid and accepts a lone pair of electrons from ammonia to form BCl3←NH3.