We assume the position of the nuclei are fixed, due to their much larger relative mass compared to electrons. Solving the Wave function for the electrons is simpler when the nucleus is fixed in space.