The spin of a proton arises from the combined spins of its constituent quarks, as well as the orbital motion of the quarks within the proton. The two up quarks in the proton have spins that are aligned in the same direction ("spin parallel"), while the spin of the down quark is anti-aligned ("spin anti-parallel") to the up quarks. The net spin of the proton is then determined by adding these individual spins together. Since two quarks have spins aligned and one is anti-aligned, the net spin is +1/2, which is the intrinsic spin of the proton.
In summary, the proton's spin is the result of the spins of its constituent quarks, combined with the orbital motion of these quarks within the proton. The proton's spin of +1/2 arises from the alignment and cancellation of the spins of the up and down quarks.