On the Relationship Between Star Formation and the Interstellar Medium in Numerical Simulations