Protostellar and protoplanetary systems, as well as merging galactic nuclei, often interact tidally and resonantly with the astrophysical disks via gravity. Underlying our understanding of the formation processes of stars, planets, and some galaxies is a dynamical theory of such interactions. Its main goals are to determine the geometry of the binary-disk system and, through the torque calculations, the rate of change of orbital elements of the components. We present some recent developments in this field concentrating on eccentricity driving mechanisms in protoplanetary and protobinary systems. In those two types of systems the result of the interaction is opposite. A small body embedded in a disk suffers a decrease of orbital eccentricity, whereas newly formed binary stars surrounded by protostellar disks may undergo a significant orbital evolution increasing their eccentricities.