Are there some genetic reasons I get pancreatitis off and on?

Probably. Some genetic variants lead to activation of the pancreatic enzymes while still in the pancreatic glands and cause pancreatitis.