The expansion dynamics of bosonic gases in optical lattices has recently been the focus of increasing attention, both experimental and theoretical. We consider, by means of numerical Bethe ansatz, the expansion dynamics of initially confined wave packets of two interacting bosons on a lattice. We show that a correspondence between the asymptotic expansion velocities and the projection of the evolved wave function over the bound states of the system exists, clarifying the existing picture for such situations. Moreover, we investigate the role of the lattice in this kind of evolution.