node.health is the preferred syntax – built-in properties also use this syntax since Godot 3.0. However, get() and set() can be useful to get/set properties with dynamic names (that is, the property’s name itself is variable).
There’s one other case where you must use get()/set(): when a property name contains special characters such as / (which may be the case of a few built-in properties).