The representation of a Poisson bracket is given by the following equation: $$\tag{1} \{f,g\} = \sum_{s=1}^n \sum_{i=1}^{d=3}\left ( \frac{\partial f}{\partial x_i^{(s)}} \frac{\partial g}{\partial p_i^{(s)}} - \frac{\partial f}{\partial p_i^{(s)}} \frac{\partial g}{\partial x_i^{(s)}}\right),$$ where $n$ is the number of particles, and $d$ is the number of dimensions.
Assume we have an arbitrary Hamiltonian $H$ (possibly explicitly time-dependent). Then according to the Hamilton equation we have: $$\frac{d p_j^{(r)}}{dt} = \{p_j^{(r)}, H\} + \frac{\partial p_j^{(r)}}{\partial t} =\{p_j^{(r)}, H\}.$$
Using the representation given in (1) we can show that $\frac{d p_j^{(r)}}{dt} = -\frac{\partial H}{\partial x_i^{(r)}}$.
In the process of derivation, I get that $$\tag{2} \frac{\partial p_i^{(r)}}{\partial x_i^{(r)}} = 0.$$ I don't understand why the quantity in (2) is zero? Can't the momentum depend on time as well as $x$?
P.S.
Unfortunately, I don't have any physics background whatsoever, so I will appreciate an intuitive answer or a mathematical proof which does not rely on Lagrangian mechanics.