You asked a specific question about what causes dyskinesis. There are a number of lifestyle factors that are known to affect it. Two of the most common things are: excessive dieting which cause the bile flow to stall
and drugs such as antidepressants. Other common causes include physical injuries which interfere with the vagus nerve.
Yellowing of the bile can indicate that they is a higher proportion of liver bile that gallbladder bile.