What does $\rightarrow$ mean in $p \rightarrow q$
As in the above link, "The truth table of $\rightarrow$ is defined to be that $p\rightarrow q$ is false if and only if $p$ is true and $q$ is false." So $p\rightarrow q$ is defiend to be also true if $p$ is false. Is there any reason for mathematicians to have agreed to define the truth table in the above way? Would it cause any problems when $p\rightarrow q$ were defiend to be false if $p$ is false?
For example, True or false: Every Field is a UFD. any field is vacuously a UFD. If the truth table were defined the other way around, then would fields not have to be UFDs?