Correct option is A
On is correct option to fill in the blank. The preposition "on" is correctly used to indicate that the boy is coming to rest atop the surface of the sofa. This usage reflects the appropriate spatial relationship between the boy and the sofa.
Grammatical rule used: "On" is used to indicate position for surfaces or a position just above or outside an area.
Example: The cat jumped on the table to get closer to the window.