It's quite case by case but there's so many people on itch who make music specifically to be used in games for free. One of my favorites is tallbeard.itch.io -- bangers for small games.