The making of Tom Petty's album Southern Accents was filled with turmoil and drug-induced haze, leading to the rejection of hit songs and a hand injury. Petty initially planned to produce the album himself but brought in Jimmy Iovine for creative advice. Iovine suggested Dave Stewart to write a song for Stevie Nicks, but Petty ended up writing the lyrics for 'Don't Come Around Here No More', which became a hit. Despite the chaos, Petty was proud of the album Southern Accents and its success.
Source: https://faroutmagazine.co.uk/the-song-that-tom-petty-stole-from-stevie-nicks