Forward URL does not go to https

I’ve setup the below Forwarding URL
*.example.com/* Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://www.example.com)
Problem is that when I type
xxx.example.com it redirects to http://www.example.com

$ curl -vso /dev/null asdfasfasf.example.com 2>&1 | grep -e Moved -e Location < HTTP/1.1 301 Moved Permanently < Location: http://www.example.com/
It is supposed to redirect to httpS://www.example.com
Does anyone know why it fails to properly redirect to HTTPS?

Thanks