Dockerfile ADD command with remote URL on GitHub in a specific AWS region

There is a strange issue with building docker images from Dockerfile with command ADD <src> (when <src> is remote file URL pointing to GitHub only) which appears on AWS EC2 instances in specific region only ( us-east-2 ) and related to the latest docker-ce versions only ( 19.03.9 and above).

The full details are here:

Maybe somebody from GitHub could help with the issue.