Why didn't I receive the Gives back badge?

Possibly.

More likely due due another reason.

Has the job ran since passing the threshold?

Were all of the Likes in Categories that granted badges? i.e. the setting
“Allow badges to be awarded in this category”
* note, messages don’t have a category

If you prefer code the query is

SELECT us.user_id, current_timestamp AS granted_at
FROM user_stats AS us
INNER JOIN posts AS p ON p.user_id = us.user_id
WHERE p.like_count > 0
  AND us.likes_given >= 100
  AND (:backfill OR us.user_id IN (:user_ids))
GROUP BY us.user_id, us.likes_given
HAVING COUNT(*) > 100

And the setting is

Trigger
Update daily