Because of concentration difference holes or electron try to vary from their side to other side. Only these holes or electrons cross the junction, having high kinetic energy. This diffusion results is an electric current from the P-side to the N-side called as diffusion current (idf)