For randomly-moving-particle swarm, the past researches only focused on its whole behavior and few people have studied the special particle swarm formed in it, which leading to the phenomenon and reasons for the spontaneous aggregation of particles in the special particle swarm being still unknown. For such a special particle swarm, we have previously studied the causes of its special relativity phenomenon. Here we show the causes of spontaneous aggregation of “randomly moving” particles. The diffusion kinetics of particles in a special circumstance (that is, in a moving reference frame $\mathcal{R}_u$ relative to the stationary reference frame $\mathcal{R}_0$) are studied theoretically. For the first time, the effects of the location aggregation and velocity direction aggregation of randomly moving particles on the diffusion coefficient are considered, and the corresponding generalized diffusion equation is deduced employing concise mathematical logic and Mathematica software.