How to change the existing images embedded in Views Twig template to S3 bucket URL
Try adding

$settings['s3fs.use_s3_for_public'] = TRUE;


After that clear cache, now your site images will render form Amazon S3 bucket.