Option (B) is correct.
Explanation: A uniform spherical shell exerts no net gravitational force on a particle anywhere inside it. With no other bodies nearby, the net force on the particle is zero, so if it is released from rest it stays at rest. The Assertion is true.
The Reason is also true: by Newton's law of gravitation the pull of a small piece of the shell varies as 1/r2, so of two equal pieces the nearer one pulls harder.
But the Reason, taken alone, would predict a net pull towards the nearer wall, the opposite of the Assertion. The pulls cancel only because the far side of the shell also contains more mass in any given direction: for a narrow double cone drawn through the particle, the patch of shell cut out on the far side has an area, and so a mass, larger in proportion to the square of its distance. The larger mass exactly makes up for the weaker pull per kilogram. The Reason supplies only half of this balance, so it is not the correct explanation.
(A) is wrong: the Reason by itself points to a net pull towards the nearer side; it does not explain why the net force is zero.
(C) is wrong: the Reason is true; it follows from the inverse-square law.
(D) is wrong: both statements are true.