There are many factors that affect the phase angle. Path length is one, so is the impedance of the lines (a line with double the X will get the same phase offset in half the length). Other equipment will have phase offsets such as transformers where the phase offset is a function of the winding configuration. There are event specialized transformers just for this purpose https://en.wikipedia.org/wiki/Quadrature_booster