Why I'm getting "SECURITY WARNING" when building against remote docker

Hi all!
I’m using my docker desktop windows install only to run docker remote commands (docker service not even running at my machine). For example when I do

docker build -h 192.168.2.33 --tag mytag http://mygitserver:8080/git/root/mydockerfilerepo.git#master:test

I still receive

SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host.

Even though everything is happening at remote machine (which is linux). I wouldn’t mind this warning but it actually apply permissions ‘-rwxr-xr-x’ to some files in the resulting image. When I run exactly same command from shell at that remote machine I don’t get this warning and file permissions are actually ok.
Is this expected behavior and if it is why?