Ok, just found out what was the actually issue. On HTTP is picked up the the Jetpack sitemap, but on the HTTPS somehow it picked up the some old generated sitemap.xml from the root directory and the Jetpack’s one. Why that happened I’m not sure, but now successfully generates sitemaps. Sorry for bothering.
Thanks!