Īmēra pūkete: The impact of star formation histories on the inner dark matter density slopes of galaxies