Maldivians and Sri Lankans originally came from modern day Bangladesh and have similar genes.
That is true. The original Sinhala settlers were Bengalis led by royal personages. This migration happened during the spread of Buddhism to Sri Lanka from Bangladesh. There were very strong marine links between Sinhala and Bengal as Bengalis had a longstanding boat-building and sea-faring tradition.