Welcome to the forum! :hi:
Ammonia usually comes from fish waste, but it can also come from uneaten food or decaying organic matter. You mentioned you have live rock, which can house a number of invertebrates and other smaller organisms, all of which produce waste. There might also be algae...