蝙蝠 is a symbol of good luck in Chinese culture because 蝠 (fú) sounds like 福 (fú, fortune). Bats appear in traditional art and architecture as auspicious motifs.
memory
Both characters share the 虫 (insect) radical — ancient Chinese classified bats with insects. Think: 'the bug that flies flat (扁) in the dark.'