an example:
This is because of the nodata value of 0 which is rendered transparent in QGIS.
Solution: use a different nodata value.