What engine is used to make NES games?
It depends what you're working on. For instace, for graphics, these are two popular options:
NEXXT - https://frankengraphics.itch.io/nexxt
NES Screen Tool - https://shiru.untergrund.net/software.shtml
Check out this page for a thorough list - https://www.nesdev.org/wiki/Tools