When did that ancestor’s family leave Hungary?
Before 1948, a Hungarian living abroad for ten years usually lost citizenship, and from 1 September 1939 so did anyone who naturalised abroad. Families who stayed put in towns given to neighbouring countries after 1920 usually became citizens of those countries instead. From 1948 those rules ended.