This has been discussed to death. You're right - it's not logical. Nonetheless, it's the American style to always, always put the period inside the quote marks.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.