Hate to break it to you, but a child living in poverty does, in fact, deserve a birthday cake.
If it was bought with SNAP, fine. It does not hurt you in any way, shape, or form and you should not be upset that something as small as a damn cake brought a smile to that child's face.
Have compassion.