I was surprised to see that
wget chose to use IPv4 over IPv6 when downloading a file. It looks like it is on purpose (I would call it a bad design choice). You can tell
wget to prefer IPv6 over IPv4 by putting the following line
prefer-family = IPv6
/etc/wgetrc (system wide) or
$HOME/.wgetrc (user settings).