We examine the propagation of two-dimensional relativistic jets through the stellar progenitor in the collapsar model for gamma-ray bursts (GRBs). Each jet is parameterized by a radius where it is introduced and by its initial Lorentz factor, opening angle, power, and internal energy. In agreement with previous studies, we find that relativistic jets are collimated by their passage through the stellar mantle. Starting with an initial half-angle of up to 20deg, they emerge with half-angles that, though variable with time, are around 5deg. Interaction of these jets with the star and their own cocoons also causes mixing that sporadically decelerates the flow. We speculate that this mixing instability is chiefly responsible for the variable Lorentz factor needed in the internal shock model and for the complex light curves seen in many GRBs. In all cases studied, the jet is shocked deep inside the star following a brief period of adiabatic expansion. This shock converts most of the jet's kinetic energy into internal energy, so even initially "cold" jets become hot after going a short distance. The jet that finally emerges from the star thus has a moderate Lorentz factor, modulated by mixing, and a very large internal energy. In a second series of calculations, we follow the escape of that sort of jet. Conversion of the remaining internal energy gives terminal Lorentz factors along the axis of approximately 150 for the initial conditions chosen. Because of the large ratio of internal to kinetic energy in both the jet ([?]80%) and its cocoon, the opening angle of the final jet is significantly greater than at breakout. A small amount of material emerges at large angles, but with a Lorentz factor still sufficiently large to make a weak GRB. This leads us to propose a "unified model" in which a variety of high-energy transients, ranging from X-ray flashes to "classic" GRBs, may be seen depending on the angle at which a standard collapsar is observed. We also speculate that the breakout of a relativistic jet and its collision with the stellar wind will produce a brief transient with properties similar to the class of "short-hard" GRBs. Implications of our calculations for GRB light curves, the luminosity-variability relation, and the GRB-supernova association are also discussed.