Shortcode for custom query not returning results when attributes are added

Been a while since I used shortcode_atts but should $categories be $category? also, make sure it’s returning the correct type e.g. string or int and you’re searching for a valid slug.