Medical issues, anxiety can cause dysfunction