They are different diseases!
ATN (Acute Tubular Necrosis) is most commonly due to acute ischemia in the setting of prolonged hypotension, dehydration, or shock. It's the most common cause of ARF originating in the hospital. Less commonly, it can be caused by drugs like aminoglycosides and amphotericin. The pathology is largely limited to the medullary tubules. Tubular (granular, muddy) casts are pathognomonic.
AIN (Acute Interstitial Nephritis) is most commonly caused by drugs like penicillins and NSAIDs. Eosinophilia and eosinophiluria are characteristic. Pathology involves the interstitium surrounding the tubules.