Different broths and different noodles. Ramen is a very fatty broth that is created by making a stock out of bones and just straight up adding oil, while udon uses a simple dashi stock made out of kombu (seaweed) and katsuobushi (dried bonito flakes).