That is a really great question! This is why there are different breeds of dogs, to suit their needs.
German Shepherd’s ears stand upright because of the muscles in the front. Just like our biceps! It’s also due to their fur having 20% water, making it lightweight; if the dog was plushier the ear wouldn’t stay up as easily…