Hook function prints output twice

You don’t need to add do_action('create_amenities', $new_term_id);.

The created_{$taxonomy} hook fires after a new term in a specific taxonomy is created by default.