This paper describes numerical simulations of the instability mechanisms in a separation bubble subjected to a three-dimensional freestream pressure distribution. Two direct numerical simulations are performed of a separation bubble with laminar separation and turbulent reattachment under low freestream turbulence at flow Reynolds numbers and streamwise pressure distributions that approximate the conditions encountered on the suction side of typical low-pressure gas-turbine blades with blade sweep angles of $0\u2003deg$ and $45\u2003deg$. The three-dimensional (3D) pressure field in the swept configuration produces a crossflow-velocity component in the laminar boundary layer upstream of the separation point that is unstable to a crossflow instability mode. The simulation results show that crossflow instability does not play a role in the development of the boundary layer upstream of separation. An increase in the amplification rate and the most amplified disturbance frequency is observed in the separated-flow region of the swept configuration and is attributed to boundary-layer conditions at the point of separation that are modified by the spanwise pressure gradient. This results in a slight upstream movement of the location where the shear layer breaks down to small-scale turbulence and modifies the turbulent mixing of the separated shear layer to yield a downstream shift in the time-averaged reattachment location. The results demonstrate that although crossflow instability does not appear to have a noticeable effect on the development of the transitional separation bubble, the 3D pressure field does indirectly alter the separation-bubble development by modifying the flow conditions at separation.