A boy jumps on the beach.
A boy is happy to be so close to the water.
The boy is not necessarily happy.
We have no idea if he is happy to be so close to the water, he could be afraid of water, we have no idea.
You can not infer the boy is happy.