Modeling and Observations of High-silica Magmatic Systems on Earth and Mars