plugin development – Custom post type not showing in xml sitemap

I create a custom post type in WordPress and it’s working. My issue is when I create my XML sitemap then I am getting my all the pages and post but not getting the custom post type.

Would you help me out with this?

// Register Custom Post Type blog
function create_blog_cpt() {

    $labels = array(
        'name' => _x( 'blogs', 'Post Type General Name', 'bloglist' ),
        'singular_name' => _x( 'blog', 'Post Type Singular Name', 'bloglist' ),
        'menu_name' => _x( 'blogs', 'Admin Menu text', 'bloglist' ),
        'name_admin_bar' => _x( 'blog', 'Add New on Toolbar', 'bloglist' ),
        'archives' => __( 'blog Archives', 'bloglist' ),
        'attributes' => __( 'blog Attributes', 'bloglist' ),
        'parent_item_colon' => __( 'Parent blog:', 'bloglist' ),
        'all_items' => __( 'All blogs', 'bloglist' ),
        'add_new_item' => __( 'Add New blog', 'bloglist' ),
        'add_new' => __( 'Add New', 'bloglist' ),
        'new_item' => __( 'New blog', 'bloglist' ),
        'edit_item' => __( 'Edit blog', 'bloglist' ),
        'update_item' => __( 'Update blog', 'bloglist' ),
        'view_item' => __( 'View blog', 'bloglist' ),
        'view_items' => __( 'View blogs', 'bloglist' ),
        'search_items' => __( 'Search blog', 'bloglist' ),
        'not_found' => __( 'Not found', 'bloglist' ),
        'not_found_in_trash' => __( 'Not found in Trash', 'bloglist' ),
        'featured_image' => __( 'Featured Image', 'bloglist' ),
        'set_featured_image' => __( 'Set featured image', 'bloglist' ),
        'remove_featured_image' => __( 'Remove featured image', 'bloglist' ),
        'use_featured_image' => __( 'Use as featured image', 'bloglist' ),
        'insert_into_item' => __( 'Insert into blog', 'bloglist' ),
        'uploaded_to_this_item' => __( 'Uploaded to this blog', 'bloglist' ),
        'items_list' => __( 'blogs list', 'bloglist' ),
        'items_list_navigation' => __( 'blogs list navigation', 'bloglist' ),
        'filter_items_list' => __( 'Filter blogs list', 'bloglist' ),
    );
    $args = array(
        'label' => __( 'blog', 'bloglist' ),
        'description' => __( '', 'bloglist' ),
        'labels' => $labels,
        'menu_icon' => 'dashicons-admin-comments',
        'supports' => array('title', 'editor', 'thumbnail', 'custom-fields'),
        'taxonomies' => array(),
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
        'show_in_admin_bar' => true,
        'show_in_nav_menus' => true,
        'can_export' => true,
        'has_archive' => true,
        'hierarchical' => false,
        'exclude_from_search' => true,
        'show_in_rest' => true,
        'publicly_queryable' => true,
        'capability_type' => 'post',
    );
    register_post_type( 'blog', $args );

}
add_action( 'init', 'create_blog_cpt', 0 );