The "little black boy" from the poem
shades the other child from the sun until he can stand it.
This suggests friendship and caring. So, instead of a
child using something like an umbrella to shade the other,
which implies condescension or servility, one child hugs the other,
which implies friendship.