Presumably from batty, itself from earlier have bats in one's belfry, from tendency of bats to fly around erratically. Possibly influenced by or derived from apeshit, particularly in phrase go apeshit.
Modern English dictionary
Explore and search massive catalog of over 900,000 word meanings.
Word of the Day
Get a curated memorable word every day.
Challenge yourself
Level up your vocabulary by setting personal goals.