due to impacted stone in the papilla or compression of distal common bile duct by enlarged edematous pancreas.