HypoPP is typically caused by mutations in the CACNA1S or SCN4A genes. These genes are responsible for encoding proteins that help regulate the flow of calcium and sodium ions in muscle cells. When these proteins function abnormally, it disrupts the balance of ions, leading to muscle weakness or paralysis. The disorder is inherited in an autosomal dominant fashion, meaning a child only needs to inherit one copy of the mutated gene to be affected.